__author__ = 'Dhananjayan'

from franz.openrdf.sail.allegrographserver import AllegroGraphServer

print '\n''<==', 'catalog:', '==>'
server = AllegroGraphServer("192.168.163.128", port=10035,user="test", password="xyzzy")
for x in server.listCatalogs():
    print x

print '\n''<==', 'Repository:', '==>'
catalog = server.openCatalog('python-catalog')
for x in catalog.listRepositories():
    print(x)






